$(document).ready(function () {
    $.each($(".bd ul"), function () {
        $(this).children().eq(3).addClass("right");
    });

    $(".right_bottom a").click(function () {
        var search = $(this).text();
        $("#queryKeysStr").val(search);
    });

    $("#categoryLevel1 li").click(function () {
        var search = $(this).text();
        $("#searchBytype").val(search);
        $("#typeform").submit();
    });

    $("#categoryLevel2 li").click(function () {
        var search = $(this).text();
        $("#searchBytech").val(search);
        $("#techform").submit();
    });

    $("#categoryLevel3 li").click(function () {
        var search = $(this).text();
        $("#searchBypro").val(search);
        $("#proform").submit();
    });
});

function showPrice() {
    $("#search-sort-list").css("display", "block");
}